package com.tjf.traffic.bean;


import android.graphics.drawable.Drawable;

/**
 * 流量信息
 */
public class TrafficInfo {
    //应用图标
    private Drawable icon;
    //app名称
    private String appname;
    //包名
    private String packname;
    //uid
    private int uid;

    String traffic;

    private  long mobleTotalData;//移动总流量数据
    private  long mobleRxBytes;//移动 下载字节
    private long mobleTxBytes;//移动 上传字节

    long wifiTotalData;//wifi总流量数据
    long wifiRxBytes;//wifi 下载字节
    long wifiTxBytes;//wifi 上传字节

    public String getTraffic() {
        return traffic;
    }

    public void setTraffic(String traffic) {
        this.traffic = traffic;
    }

    public TrafficInfo() {
        super();

    }

    public TrafficInfo(Drawable icon, String appname, String packname, int uid) {
        super();
        this.icon = icon;
        this.appname = appname;
        this.packname = packname;
        this.uid = uid;
    }

    public Drawable getIcon() {
        return icon;
    }

    public void setIcon(Drawable icon) {
        this.icon = icon;
    }

    public String getAppname() {
        return appname;
    }

    public void setAppname(String appname) {
        this.appname = appname;
    }

    public String getPackname() {
        return packname;
    }

    public void setPackname(String packname) {
        this.packname = packname;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public long getMobleTotalData() {
        return mobleTotalData;
    }

    public void setMobleTotalData(long mobleTotalData) {
        this.mobleTotalData = mobleTotalData;
    }

    public long getMobleRxBytes() {
        return mobleRxBytes;
    }

    public void setMobleRxBytes(long mobleRxBytes) {
        this.mobleRxBytes = mobleRxBytes;
    }

    public long getMobleTxBytes() {
        return mobleTxBytes;
    }

    public void setMobleTxBytes(long mobleTxBytes) {
        this.mobleTxBytes = mobleTxBytes;
    }

    public long getWifiTotalData() {
        return wifiTotalData;
    }

    public void setWifiTotalData(long wifiTotalData) {
        this.wifiTotalData = wifiTotalData;
    }

    public long getWifiRxBytes() {
        return wifiRxBytes;
    }

    public void setWifiRxBytes(long wifiRxBytes) {
        this.wifiRxBytes = wifiRxBytes;
    }

    public long getWifiTxBytes() {
        return wifiTxBytes;
    }

    public void setWifiTxBytes(long wifiTxBytes) {
        this.wifiTxBytes = wifiTxBytes;
    }
}
